#ifndef _MEDICALEXAM_H_
#define _MEDICALEXAM_H_

#include "Date.h"
#include "Doctor.h"
#include "Client.h"
#include "Hour.h"

class MedicalExam
{

public:
	MedicalExam();
	virtual ~MedicalExam();
	Date *date;
	Hour *hour;

	Date getDate();
	void setDate(Date date);
	Hour getHour();
	void setHour(Hour hour);
	ExamType getType();
	void setType(ExamType type);
	Doctor getResponsibleDoctor();
	void setResponsibleDoctor(Doctor doctor);
	Client getpatient();
	void setpatient(Client patient);
	
	// I/O
    friend ostream & operator<< (ostream & os, const MedicalExam & medicalExam);
    friend istream & operator>> (istream & is, const MedicalExam & medicalExam);

private:
	Date date;
	Hour hour;
	ExamType type;
	Doctor responsibleDoctor;
	Client patient;

};
#endif // !defined(EA_D00F6038_07E0_4466_B840_4390F1B1DB29__INCLUDED_)
